package com.itbaizhan.service;

import com.itbaizhan.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    @Qualifier("userDaoImpl")
    UserDao userDao;

    public void insert(){
        userDao.insert();
    }

    public void delete(){
        userDao.delete();
    }

    public void select(){
        userDao.select();
    }
}
